#ifndef OBSERVABLEBOOL_H
#define OBSERVABLEBOOL_H

#include <QObject>

class ObservableBool : public QObject
{
    Q_OBJECT
public:
    explicit ObservableBool(QObject *parent = nullptr);


private:
    bool is_door_open;

public slots:
    void setValue(bool newValue);
    bool getValue();

signals:
    void valueChanged(bool newValue);


};

#endif // OBSERVABLEBOOL_H
